package com.anjie.powerproject.pojo.dto;

import java.util.Date;

public class CompareQueryDTO {
    /**
     * 设备编号
     */
    private String deviceCode;
    /**
     * 起始时间
     */
    private Date startTime;
    /**
     * 结束时间
     */
    private Date endTime;
    /**
     * 源模型
     */
    private Integer sourceModel;
    /**
     * 目标模型
     */
    private Integer targetModel;

    /**
     * 保留字段，标识时间段类型，0：以小时为单位，1：以日为单位
     */
    private Integer dateType;

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Integer getSourceModel() {
        return sourceModel;
    }

    public void setSourceModel(Integer sourceModel) {
        this.sourceModel = sourceModel;
    }

    public Integer getTargetModel() {
        return targetModel;
    }

    public void setTargetModel(Integer targetModel) {
        this.targetModel = targetModel;
    }

    public Integer getDateType() {
        return dateType;
    }

    public void setDateType(Integer dateType) {
        this.dateType = dateType;
    }

    @Override
    public String toString() {
        return "CompareQueryDTO{" +
                "deviceCode='" + deviceCode + '\'' +
                ", startTime=" + startTime +
                ", endTime=" + endTime +
                ", sourceModel=" + sourceModel +
                ", targetModel=" + targetModel +
                ", dateType=" + dateType +
                '}';
    }
}
